import { MockMethod } from 'vite-plugin-mock'

export default [
  {
    url: '/mock/nestApi/auth/login',
    method: 'post',
    response: () => {
      return {
        code: 200,
        message: '成功',
        data: {
          token: 'bqddxxwqmfncffacvbpkuxvwvqrhln'
        }
      }
    }
  },
  {
    url: '/mock/nestApi/admin/auth/captcha/img',
    method: 'post',
    response: () => {
      return {
        code: 200,
        message: '成功',
        data: {
          img: '',
          id: '4P8ZxN8sNt2bI5ZxdbkCF'
        }
      }
    }
  }
] as MockMethod[]
